2020-2021 Sunseeker Telemetry and Lighting System
flashctl_ex3_longWordWrite.c File Reference
#include "driverlib.h"

Go to the source code of this file.

Macros

#define INFOD_START   (0x1800)
 

Functions

void main (void)
 

Variables

uint32_t calibration_data [] = {0x12345678}
 

Macro Definition Documentation

◆ INFOD_START

#define INFOD_START   (0x1800)

Definition at line 75 of file flashctl_ex3_longWordWrite.c.

Function Documentation

◆ main()

void main ( void  )

Variable Documentation

◆ calibration_data

uint32_t calibration_data[] = {0x12345678}

MSP430F5529 Demo - Flash In-System Programming w/ Long-Word write at 0x1800

Description: This program first erases flash seg D, then it writes a 32-bit value to memory location 0x1800 using BLK write mode. BLK write provides faster write times than byte/word mode. LED toggles upon completion. ACLK = REFO = 32kHz, MCLK = SMCLK = default DCO 1048576Hz

Tested On: MSP430F5529

/|| | | | P1.0|-LED –|RST | | |

This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:

  • Flash module
  • GPIO Port peripheral

This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.

  • None.

Definition at line 68 of file flashctl_ex3_longWordWrite.c.

Referenced by main().